package com.haier.os.security.core.properties;

/**
 * 浏览器模块所需的所有配置
 */
public class BrowserProperties {
    /**
     * 登录页面，默认为/haier-signIn.html
     */
    private String loginPage = "/haier-signIn.html";

    /**
     * 登录成功后的响应类型，默认为JSON
     */
    private LoginType loginType = LoginType.JSON;

    /**
     * 记住我时长
     */
    private int rememberMeSeconds = 3600;

    public String getLoginPage() {
        return loginPage;
    }

    public void setLoginPage(String loginPage) {
        this.loginPage = loginPage;
    }

    public LoginType getLoginType() {
        return loginType;
    }

    public void setLoginType(LoginType loginType) {
        this.loginType = loginType;
    }

    public int getRememberMeSeconds() {
        return rememberMeSeconds;
    }

    public void setRememberMeSeconds(int rememberMeSeconds) {
        this.rememberMeSeconds = rememberMeSeconds;
    }
}
